package com.typy.www.tpay.util;

/**
 * Created by 13799 on 2018/6/28.
 */

public class ClassHoldUtil {
    //激活记录
    public static final int ActivicationRecord = 1;
    //转出记录
    public static final int TurnOutRecord = 2;
    //转入记录
    public static final int ChangeIntoRecord = 3;
    // 积分兑换记录
    public static final int ExchangePointRecord = 4;
    // 激活
    public static final int Activication = 5;
    // 转出
    public static final int TurnOut = 6;
    // 积分兑换记录
    public static final int ExchangePoint= 7;
    // 余额记录
    public static final int AmountListRecord= 8;
    // 分享分记录
    public static final int SharePointRecord= 9;
    // 积分记录
    public static final int PointRecord= 10;
    // 分享记录
    public static final int ShareRecord= 11;
    // 回复记录
    public static final int SuggestRecord= 12;
    // 数字资产
    public static final int DigitalAssets= 13;
    // 数字资产
    public static final int TurnOutDigi= 14;
    // 数字资产记录
    public static final int TurnOutDigiRECORD= 15;
    // 数字资产详情
    public static final int DigiDetail= 16;
    // 向谁买
    public static final int BUYFROM= 17;
    // 向谁卖
    public static final int SELLFROM= 18;
    // 向谁买记录
    public static final int BUYRECORD= 19;
    // 向谁卖记录
    public static final int SELLRECORD= 20;
    // ico项目中心
    public static final int ICO= 21;
    // ico项目中心预热中
    public static final int ICOYURE= 22;
    // ico项目中心进行中
    public static final int ICOJINXING= 23;
    // ico项目中心结束
    public static final int ICOJIESU= 24;
    // 发布出售
    public static final int FABUSELL= 25;
    // 发布购买
    public static final int FABUBUY= 26;
    // 订单
    public static final int DIGIDINGDANG= 27;
    // 订单进行中
    public static final int DIGIDINGDANGNOW= 28;
    // 订单已结束
    public static final int DIGIDINGDANGEND= 29;
    // Z宝中心转入
    public static final int ZBAOTURNIN= 30;
    // Z宝中心收益
    public static final int ZBAOSHOUYI= 31;
    // Z宝中心释放
    public static final int ZBAOSHIFANG= 32;
    // Z宝中心
    public static final int ZBAOCENTER= 33;
    // 买入
    public static final int BUYIN= 34;
    // 卖出
    public static final int SELLOUT= 35;
    // 买入中心
    public static final int BUYINCENTER= 36;
    // 卖出中心
    public static final int SELLOUTCENTER= 37;
    // 买入记录
    public static final int BUYINCORECORD= 38;
    // 卖出记录
    public static final int SELLOUTRECORD= 39;
    // 买入未完成
    public static final int BUYWEIWANCHENG= 40;
    // 卖出未完成
    public static final int SELLWEIWANCHENG= 41;
    // 买入未完成
    public static final int BUYYIWANCHENG= 42;
    // 卖出未完成
    public static final int SELLYIWANCHENG= 43;
    // 买入未完成已选择
    public static final int BUYWEIWANCHENGC= 44;
    // 卖出未完成已选择
    public static final int SELLWEIWANCHENGC= 45;
    // 投诉
    public static final int TOUSU= 46;
    // 打款
    public static final int DAKUAN= 47;
    // 确认打款
    public static final int QUERENGDAKUANB= 48;
    // 买入打款
    public static final int QUERENGDAKUANS= 49;
    // 确认打款
    public static final int DAIQUERENSHOUKUAN= 50;
    // 投诉
    public static final int TOUSUCHULIZHONG= 51;


    public static String getClassTitle(int classType) {
        switch (classType) {
            case 0:
                return "未知";
            case ActivicationRecord:
                return "激活记录";
            case TurnOutRecord:
                return "转出记录";
            case ChangeIntoRecord:
                return "转入记录";
            case ExchangePointRecord:
                return "兑换记录";
            case Activication:
                return "激活";
            case TurnOut:
                return "转出";
            case AmountListRecord:
                return "余额记录";
            case SharePointRecord:
                return "分享分记录";
            case PointRecord:
                return "积分记录";
            case ShareRecord:
                return "分享记录";
            case SuggestRecord:
                return "我的回复";
            case TurnOutDigi:
                return "转出";
            case TurnOutDigiRECORD:
                return "转出记录";
            case BUYRECORD:
                return "买入记录";
            case SELLRECORD:
                return "卖出记录";
            case DigiDetail:
                return "交易记录";
            case ICO:
                return "众筹消费记录";
            case ICOJINXING:
                return "众筹购买";
            case FABUSELL:
                return "发布出售";
            case FABUBUY:
                return "发布购买";
            case DIGIDINGDANG:
                return "订单";
            case ZBAOCENTER:
                return "转入";
            case BUYIN:
                return "买入";
            case SELLOUT:
                return "卖出";
            case BUYINCENTER:
                return "买入中心";
            case SELLOUTCENTER:
                return "卖出中心";
            case BUYINCORECORD:
                return "记录";
            case SELLOUTRECORD:
                return "记录";
            case BUYWEIWANCHENG:
                return "未完成订单";
            case SELLWEIWANCHENG:
                return "未完成订单";
            case BUYWEIWANCHENGC:
                return "未完成订单";
            case SELLWEIWANCHENGC:
                return "未完成订单";
            case BUYYIWANCHENG:
                return "已完成订单";
            case SELLYIWANCHENG:
                return "已完成订单";
            case TOUSU:
                return "投诉";
            case DAKUAN:
                return "打款";
            case QUERENGDAKUANB:
                return "确认打款";
            case QUERENGDAKUANS:
                return "确认收款";
            case DAIQUERENSHOUKUAN:
                return "待确认收款";
            case TOUSUCHULIZHONG:
                return "投诉详情";
        }
        return "";
    }
public static int classTurnRecord(int classType) {
        switch (classType) {
            case ActivicationRecord:
                return ActivicationRecord;
            case TurnOutRecord:
                return TurnOutRecord;
            case ChangeIntoRecord:
                return ChangeIntoRecord;
            case ExchangePointRecord:
                return ExchangePointRecord;
            case ExchangePoint:
                return ExchangePointRecord;
            case Activication:
                return ActivicationRecord;
            case TurnOut:
                return TurnOutRecord;
            case SuggestRecord:
                return SuggestRecord;
            case TurnOutDigi:
                return TurnOutDigiRECORD;
            case TurnOutDigiRECORD:
                return TurnOutDigiRECORD;
            case BUYRECORD:
                return BUYRECORD;
            case SELLRECORD:
                return SELLRECORD;
            case BUYFROM:
                return BUYRECORD;
            case SELLFROM:
                return SELLRECORD;
            case ICOJINXING:
                return ICO;
        }
        return 0;
    }

    ;


}
